package com.cinc.ebc.mm.vo;

import java.util.List;

import com.cinc.ebc.mm.entity.MmStockInOutDetail;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecgframework.poi.excel.annotation.ExcelCollection;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description: 库存单据
 * @Author: jeecg-boot
 * @Date:   2022-04-05
 * @Version: V1.0
 */
@Data
@ApiModel(value="mm_stock_in_outPage对象", description="库存单据")
public class MmStockInOutPage {

	/**主键ID*/
	@ApiModelProperty(value = "主键ID")
    private java.lang.String id;
	/**单据号*/
	@Excel(name = "单据号", width = 15)
	@ApiModelProperty(value = "单据号")
    private java.lang.String billNo;
	/**单据日期*/
	@Excel(name = "单据日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
	@ApiModelProperty(value = "单据日期")
    private java.util.Date billDate;
	/**库房*/
	@Excel(name = "库房", width = 15, dictTable = "mdm_warehouse", dicText = "warehouse_name", dicCode = "id")
    @Dict(dictTable = "mdm_warehouse", dicText = "warehouse_name", dicCode = "id")
	@ApiModelProperty(value = "库房")
    private java.lang.String warehouseId;
	/**出入标志*/
	@Excel(name = "出入标志", width = 15, dicCode = "mm_io_flag")
    @Dict(dicCode = "mm_io_flag")
	@ApiModelProperty(value = "出入标志")
    private java.lang.String ioFlag;
	/**移动类型*/
	@Excel(name = "移动类型", width = 15, dictTable = "mdm_movement_type", dicText = "type_name", dicCode = "id")
    @Dict(dictTable = "mdm_movement_type", dicText = "type_name", dicCode = "id")
	@ApiModelProperty(value = "移动类型")
    private java.lang.String moveId;
	/**凭证号*/
	@Excel(name = "凭证号", width = 15)
	@ApiModelProperty(value = "凭证号")
    private java.lang.String voucherNo;
	/**凭证日期*/
	@Excel(name = "凭证日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
	@ApiModelProperty(value = "凭证日期")
    private java.util.Date voucherDate;
	/**供应商*/
	@Excel(name = "供应商", width = 15, dictTable = "mdm_supply", dicText = "supply_full_name", dicCode = "id")
	@Dict(dictTable = "mdm_supply", dicText = "supply_full_name", dicCode = "id")
	@ApiModelProperty(value = "供应商")
	private java.lang.String supplyId;
	/**客户*/
	@Excel(name = "客户", width = 15, dictTable = "mdm_customer", dicText = "cust_full_name", dicCode = "id")
	@Dict(dictTable = "mdm_customer", dicText = "cust_full_name", dicCode = "id")
	@ApiModelProperty(value = "客户")
	private java.lang.String customerId;
	/**备注*/
	@Excel(name = "备注", width = 15)
	@ApiModelProperty(value = "备注")
    private java.lang.String remark;
	/**创建人*/
	@ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
	@ApiModelProperty(value = "创建时间")
    private java.util.Date createTime;
	/**修改人*/
	@ApiModelProperty(value = "修改人")
    private java.lang.String updateBy;
	/**修改时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "修改时间")
    private java.util.Date updateTime;
	/**所属部门*/
	@ApiModelProperty(value = "所属部门")
    private java.lang.String sysOrgCode;
	/**租户ID*/
	@Excel(name = "租户ID", width = 15)
	@ApiModelProperty(value = "租户ID")
    private java.lang.Integer tenantId;
	/**其它出入库标志*/
	@Excel(name = "其它出入库标志", width = 15)
	@ApiModelProperty(value = "其它出入库标志")
	private java.lang.String otherFlag;
	/**项目*/
	@ApiModelProperty(value = "项目")
	private String projectId;
	/**项目名称*/
	@ApiModelProperty(value = "项目名称")
	private String projectName;
	@ExcelCollection(name="库存单据明细")
	@ApiModelProperty(value = "库存单据明细")
	private List<MmStockInOutDetail> mmStockInOutDetailList;

}
